﻿@model List<ServeNHL.Models.UserViewModel> 
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}








<style type="text/css">
    .box {
        padding: 20px;
        display: none;
        margin-top: 20px;
    }
</style>


    <div class="row">
        <div class="spacer7"></div>
        <div class="header col-lg-12 col-md-12 col-sm-12 col-xs-12 ">

            <div class="signupLogo">Add Family Members</div>
        </div>
    </div>




@using (Html.BeginForm("AddFamilyMem", "User"))
{


    <div class="row">
        <div class="spacer9"></div>
        <div class="signupfamily col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
            @Html.Raw(ViewBag.Message)
            
            <input type="text" placeholder="name@example.com" name="email" id="email"> <input type="password" placeholder="password" name="password" id="password"> <input type="password" placeholder="confirm password" name="confirm" id="confirm"> <input type="text" placeholder="first name" name="firstName" id="firstName"> <input type="text" placeholder="last name" name="lastName" id="lastName"> <input type="text" placeholder="phone number" name="phoneNumber" id="phoneNumber">

          
           
        </div>




    </div>


<div class="spacer9"></div>






    foreach (var user in Model)
    {

        var eventID = user.user.USER_ID;


        <div class="row">
            <div class="familynames col-lg-1 col-md-1 col-sm-1 col-xs-1"></div>
            <div class="familynames1 col-lg-2 col-md-2 col-sm-2 col-xs-2">@Html.Raw(user.user.USERNAME) </div>
            <div class="familynames col-lg-1 col-md-1 col-sm-1 col-xs-1"></div>
            <div class="familynames col-lg-2 col-md-2 col-sm-2 col-xs-2">@Html.Raw(user.family.FAMILY_NAME)</div>
            <div class="familynames col-lg-2 col-md-2 col-sm-2 col-xs-2">@Html.Raw(user.contact.FIRST_NAME)</div>
            <div class="familynames col-lg-2 col-md-2 col-sm-2 col-xs-2">@Html.Raw(user.contact.PHONE)</div>
            <div class="familynames col-lg-2 col-md-2 col-sm-2 col-xs-2">@Html.ActionLink("Delete", "Delete", new { id = user.user.USER_ID })</div>
           


        </div>
        //<h4>@Html.Raw(eventItem.eventItem.NAME)</h4> <br>
        // <h4>Event Category: @Html.Raw(eventItem.eventCat.EVENT_CAT_NAME)</h4><br>
        // <h4>When: @Html.Raw(eventItem.eventItem.START_DATE)</h4>
        //   <h4>To: @Html.Raw(eventItem.eventItem.END_DATE)</h4>


    }

    <div class="spacer9"></div>
            <div class="row">
                <div class="spacer5"></div>
                <div class="under col-lg-12 col-md-12 col-sm-12 col-xs-12 ">

                    <input type="submit" value="Sign Up">

                </div>
            </div>



            }










